<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">

	<h:body>
<h1>Welcome, #{userBean.name} The Killator</h1>
	<h:form id="form">  
<h:panelGrid columns="2" style="margin-bottom:10px" cellpadding="5">   
        <h:outputText value="Seleziona il Tipo di Componente da eliminare: " />  
  		<h:selectOneMenu id ="tipoComponente" value="#{tipicomponente.tipoel}">
			<f:selectItem itemValue="Alloggio"/>
			<f:selectItem itemValue="Escursione"/>
			<f:selectItem itemValue="Trasporto"/>
		</h:selectOneMenu>
        <h:commandButton action="#{tipicomponente.riempilistchp()}" value="Avanti"></h:commandButton>
         <h:commandButton action="#{logoutBean.logout}" value="Logout"></h:commandButton>
      </h:panelGrid>  
 
</h:form>
</h:body>
</html>